#pragma once
#include "stdafx.h"

class EVMemory
{
public:
    EVMemory();
    ~EVMemory();

public:
    static HANDLE GetShare(OUT BYTE* &pszShare, int size, LPCTSTR szShareName);
    static HANDLE GetIntShare(OUT DWORD &dwValue, IN LPCTSTR szShareName);
    static HANDLE SetIntShare(IN DWORD dwValue, IN LPCTSTR szShareName);

    static BOOL WriteMemoryDWORD(IN const PVOID pAddr, IN const DWORD dwValue);

};

